/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconPlay = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M946.29022023 452.19233185L225.49131059 23.18234864c-8.80286025-5.17815309-17.86462815-8.28504494-28.22093431-8.28504494-28.22093431 0-51.26371555 23.30168889-51.26371555 51.78153087L145.74775307 66.67883457l0 890.64233086 0.25890766 0c0 28.47984197 23.04278124 51.78153086 51.26371555 51.78153087 10.61521383 0 19.41807408-3.62470717 28.99765728-8.80286025l720.02218667-428.4921679c17.08790518-14.23992098 27.96202667-35.7292563 27.96202666-59.80766815C974.25224689 487.92158815 963.37812541 466.6911605 946.29022023 452.19233185z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconPlay.defaultProps = {
  size: 18,
};

IconPlay = React.memo ? React.memo(IconPlay) : IconPlay;

export default IconPlay;
